package io.github.talelin.latticy.dto.product;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.Positive;

/**
 * @authoer:wulongbo
 * @createDate:2022/6/28
 * @description:
 */
@Data
public class SelectProductDTO {

    /**
     * sku
     */
    @NotEmpty(message = "{product.sku.not-blank}")
    private String sku;

    /**
     * 数量
     */
    @Positive
    private Integer num;
}
